define([],function(){
	
	return {
		getInstance:function(dbName){
			var Factory = Java.type("com.motor.db.MotorDataBaseFactory");
			print(" Factory init ...");
			var $f = new Factory("10.8.75.12:3306","db_owner","111111");
			print(" over init !!!");
			return $f.getInstance(dbName);	
		}
	}
},true)